/**
 * Jaxson ajax
 *
 * Copyright Remedy Interactive, licensed under Apache version 2 license:
 *
 *  http://www.apache.org/licenses/LICENSE-2.0.html
 *
 * This notice must remain in all java source files.
 */
package org.jaxson.validation;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

/**
 * @author Joe Maisel
 *
 */
@Retention(RetentionPolicy.RUNTIME)
public @interface Validator {
	
	public enum Scope{
		ACTION, MODEL;
	}

	Class<? extends AbstractValidator> validator();
	String[] args() default {};
	String[] properties();
	Scope scope() default Scope.MODEL;
}
